label: Add optimization for a common special case
authorBenjamin Otte <otte@redhat.com>
Tue, 29 Mar 2011 01:16:34 +0000 (03:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 29 Mar 2011 13:33:27 +0000 (15:33 +0200)
commit6ba3ef5d823d7ffbee86923782d65b4eb1b60668
treebdd7935779932cd904e312138e92a122dfdf3206
parent20b90cb79360ce1369cd485bdcb7bacd8ca17f99
label: Add optimization for a common special case

Oftentimes we want to measure a layout that is as wide or wider than the
current layout's maximal width. In that case we can safely reuse the
current layout.
gtk/gtklabel.c